/*
* 命名空间: Project.Model
*
* 功 能： T_Attendance实体类
*
* 类 名： T_AttendanceEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2020/02/02 14:50:40 罗维     创建
*
* Copyright (c) 2019 Lir Corporation. All rights reserved.
*/

namespace Project.Model
{
    using System;
    using Tool.Model;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [DBTableInfo(TableName = "T_Attendance")]
    public class T_AttendanceEntity
    {

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ID",Required = true,DefaultValue = "",IsPrimarykey = true)]
        public int ID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "EID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? EID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "UserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string UserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "UserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string UserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "Year",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public int Year
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 10,DecimalDigits = 1,ColumnName = "WorkCount",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? WorkCount
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "WorkTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime WorkTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 500,DataLength = 500,DecimalDigits = 0,ColumnName = "WorkContent",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string WorkContent
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ZTBS",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int ZTBS
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 10,DecimalDigits = 2,ColumnName = "DayMoney",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? DayMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "ProjectNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 200,DataLength = 200,DecimalDigits = 0,ColumnName = "ProjectName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "AttID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? AttID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 100,DecimalDigits = 0,ColumnName = "AttName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string AttName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "FFZT",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? FFZT
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "IsDel",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte IsDel
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "FNO",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string FNO
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Creater",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Creater
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "CreaterNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CreaterNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "DepNo",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public long DepNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CheckTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? CheckTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CancelTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? CancelTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "SendTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? SendTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "UpdateTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? UpdateTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CreateTime",Required = false,DefaultValue = "(getdate())",IsPrimarykey = false)]
        public DateTime? CreateTime
        {
            get; set;
        }
    }
}
